@echo off

if not [%1]==[] set PATH=C:\DJGPP\vfd;%PATH%

del C:\DJGPP\projects\moss\install\* /Q

::copy C:\DJGPP\projects\moss\bootloader\boot.bin C:\DJGPP\projects\moss\install > nul
copy C:\DJGPP\projects\moss\kernel\kernel.bin C:\DJGPP\projects\moss\install > nul
copy C:\DJGPP\projects\moss\inst\inst.bin C:\DJGPP\projects\moss\install > nul

cd install
::copy /b boot.bin+inst.bin+kernel.bin C:\DJGPP\qemu\moss.img
bfi -l=Mossify -b=C:\DJGPP\projects\moss\bootloader\boot.bin -f=C:\DJGPP\qemu\moss.img ./
cd ..

copy C:\DJGPP\qemu\moss.img C:\DJGPP\bochs
